<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> 清空教师评价信息</title>
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/css/cleanteacher.css" />
</head>
<body>
   <div id="container">
      <div >
			 <img src="${pageContext.request.contextPath }/images/head.gif" height="130" width="100%" />
	 </div>
			<div id="ll"></div>
			<div  id="image">
				<table id="menu">
				     <tr >
                    <input class="btn"  value="查看评价" onclick="location.href=' ${pageContext.request.contextPath }/Evaluate'" method="post" type="button"  />
					</tr> 
				
					<tr  >
					<input class="btn" value="清空教师评价信息" onclick="location.href=' ${pageContext.request.contextPath }/Clean'" method="post" type="button"  />
					</tr><br/>
					 
					<tr  > 
					<input class="btn" value="注销 " onclick="location.href=' ${pageContext.request.contextPath }/'" method="post" type="button"  />
					</tr><br/>
				</table>
			</div>
			

			<div id="do">
				<div id="find">
                  <form action="${pageContext.request.contextPath}/CleanFind" method="post">
					  <tr>
							<td><input type="text" name="courseid" placeholder="请输入课程号"/></td>
							<td><input class="btn1" type="submit" value="按课程号查找"/></td>
							<td><input type="text" name="teachername"placeholder="请输入教师姓名"></td>
							<td><input class="btn1" type="submit" value="按教师姓名查找"/></td>
					 </tr>
				 </form>
			   </div>

			   <div id="display">
				 <div>
					<table>
						<tr class="bb">
                           <td class="cc">
							<input class="aa" value="教师名"> 
							<input class="aa" value="课程号"> 
							<input class="aa" value="课程名"></td>
							<td class="ee"><input class="btn2"  value="清空所有评价" onclick="location.href=' ${pageContext.request.contextPath }/CleanAll'" method="post" type="button">  
							</td>
						</tr>
					</table>
				</div>

				<div id="who">
					<c:forEach var="course" items="${lists}">
						<table>
							 <form action="${pageContext.request.contextPath}/DelTeacher"
								method="post">
							<tr class="bb">
								<td class="cc">
								<input class="dd" name="teachername" value="${course.teachername}"> 
								<input class="dd" name="courseid" value="${course.courseid}"> 
								<input class="dd" name="coursename" value="${course.coursename}">
								</td>
								<td class="ee"><input class="btn2" value="删除评价信息"
									method="post" type="submit" /></td>
							</tr>
							</form>
						</table>
					</c:forEach>
				</div>
			</div>
          </div>
     </div>
</body>
</html>